<include file="Public:header" />
    <table class="table table-bordered table-hover definewidth m10">
        <tr>
            <td width="10%" class="tableleft">企业名称</td>
            <td>{$company.name}</td>
        </tr>
        <tr>
            <td class="tableleft">企业法人</td>
            <td>{$company.nickname|default=$company.uname}</td>
        </tr>
        <tr>
            <td class="tableleft">地址</td>
            <td>{$company.address}</td>
        </tr>

        <tr>
            <td class="tableleft">联系电话</td>
            <td>{$company.phone}</td>
        </tr>
        <tr>
            <td class="tableleft">传真</td>
            <td>{$company.fax}</td>
        </tr>
        <tr>
            <td class="tableleft">开户银行</td>
            <td>{$company.bank}</td>
        </tr>
        <tr>
            <td class="tableleft">银行账户(开户人名称)</td>
            <td>{$company.bank_user}</td>
        </tr>
        <tr>
            <td class="tableleft">银行账号(银行卡号)</td>
            <td>{$company.bank_no}</td>
        </tr>
        <tr>
            <td class="tableleft"></td>
            <td>
                <button type="button" class="btn btn-primary" type="button" id="edit-company">修改</button> &nbsp;&nbsp;<button type="button" class="btn btn-success" name="backid" id="backid">返回列表</button>
            </td>
        </tr>
    </table>

<script>
    $(function () {
        $('#backid').click(function(){
            window.location.href="{:U('Company/Index')}";
        });
        $('#edit-company').click(function(){
            window.location.href="{:U('Company/edit',array('cid'=>$company['company_id']))}";
        });


    });
</script>

<include file="Public:footer" />